package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import redis.clients.jedis.Jedis;

@SpringBootApplication
public class DemoApplication {

    public static Jedis jedis=new Jedis("49.235.168.215",6379);

    public static void main(String[] args) {
        jedis.auth("root");
        //jedis.connect();
        SpringApplication.run(DemoApplication.class, args);
    }

}
